import styled from "styled-components";

export const CardWrapper = styled.div`
  width: 100%;
  padding: 5px;
  /*   background: red; */
  .picture {
    width: 100%;
    img {
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
      width: 100%;
    }
  }
`;

export const CardContent = styled.div`
  padding: 8px;
  /*   background: blue; */
  .title {
    font-size: 15px;
    color: black;
    font-weight: 550;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .info {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    .info-left {
      display: flex;

      .avatar {
        width: 20px;
        height: 20px;
        border-radius: 50%;
      }
      .nickname {
        color: #222;
        font-size: 14px;
        margin-left: 5px;
      }
    }
  }
`;
